package com.chankudo;

import com.chankudo.demo3.LifeCycleDemo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class demoApp3 {
    public static void main(String[] args) {
        String xmlPath = "demo3.xml";
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(xmlPath);
        context.registerShutdownHook();
        LifeCycleDemo lifeCycleDemo = (LifeCycleDemo)context.getBean("lifeCycleDemo");
    }
    
}
